package com.ee.chat.common.serconfig;

import com.ndhutu.ee.util.ali.sms.SMSConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Shane
 * @Date 2019/10/5 15:50
 */
@Component
public class MyAliSMSConfig implements SMSConfig {
    @Value("${ali.accessKey.accessKeyId}")
    private String accessKeyId;
    @Value("${ali.accessKey.accessKeySecret}")
    private String accessKeySecret;
    @Value("${ali.sms.signName}")
    private String signName;

    @Override
    public String getSignName() {
        return signName;
    }

    @Override
    public String getAccessKeyId() {
        return accessKeyId;
    }

    @Override
    public String getAccessKeySecret() {
        return accessKeySecret;
    }
}
